# -*- coding: utf-8 -*-
# @Time    : 2022/1/20 20:34
# @Author  : Mr.Ye
# @Email   : a3289748713@163.com
# @File    : manage.py
# @Software: PyCharm

from dotenv import load_dotenv
import os

# 先加载环境变量
env_path = os.path.join(os.path.dirname(__file__), '.env')
if os.path.exists(env_path):
    load_dotenv(env_path, override=True, verbose=True)

# 在运行app
from MyVideo import app


if __name__ == '__main__':
    app.run()
